home *** CD-ROM | disk | FTP | other *** search
/ Surfin' Sam - A Hilariously Interactive Game / Surfin Sam.iso / pc / sam_232.dir / 00777.ls < prev    next >
Encoding:
Text File  |  1995-07-17  |  1.1 KB  |  48 lines

  1. on enterFrame
  2.   cursor(-1)
  3.   puppetSprite(2, 0)
  4.   if the puppet of sprite 40 = 1 then
  5.     if soundBusy(1) = 0 then
  6.       sound stop 1
  7.       sound stop 2
  8.       if the movieRate of sprite 2 = 0 then
  9.         set the movieRate of sprite 2 to 1
  10.       end if
  11.       puppetSprite(40, 0)
  12.     end if
  13.   end if
  14.   set the visible of sprite 8 to 0
  15.   set the visible of sprite 12 to 0
  16.   set the visible of sprite 13 to 0
  17.   set the visible of sprite 14 to 0
  18.   set the visible of sprite 16 to 0
  19.   if rollOver(17) then
  20.     set the visible of sprite 8 to 1
  21.   end if
  22.   if rollOver(18) then
  23.     set the visible of sprite 12 to 1
  24.   end if
  25.   if rollOver(19) then
  26.     set the visible of sprite 13 to 1
  27.   end if
  28.   if rollOver(20) then
  29.     set the visible of sprite 14 to 1
  30.   end if
  31.   if rollOver(21) then
  32.     set the visible of sprite 16 to 1
  33.   end if
  34.   if the movieTime of sprite 2 = the duration of cast 456 then
  35.     puppetSound("loadloop")
  36.     updateStage()
  37.     puppetTransition(52, 1, 120, 1)
  38.     unLoad("annie", "annint")
  39.     go("anniesmoke")
  40.   else
  41.     nothing()
  42.   end if
  43. end
  44.  
  45. on exitFrame
  46.   go(the frame)
  47. end
  48.